UltraFace640

object UltraFace640 : ONNXModels.FaceDetection

Ultra-lightweight face detection model.

Model accepts input of the shape (1 x 3 x 480 x 640) Model outputs two arrays (1 x 4420 x 2) and (1 x 4420 x 4) of scores and boxes.

Threshold filtration and non-max suppression are applied during postprocessing.

See also

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): FaceDetectionModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open override val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>